home *** CD-ROM | disk | FTP | other *** search
- ACOS(3I) Last changed: 4-13-99
-
-
- NNAAMMEE
- AACCOOSS, DDAACCOOSS, QQAACCOOSS, AACCOOSSDD, DDAACCOOSSDD, QQAACCOOSSDD - Computes arc cosine
- (inverse cosine)
-
- SSYYNNOOPPSSIISS
- AACCOOSS (([XX==]_x))
- DDAACCOOSS (([XX==]_x))
- QQAACCOOSS (([XX==]_x))
-
- AACCOOSSDD (([XX==]_x))
- DDAACCOOSSDD (([XX==]_x))
- QQAACCOOSSDD (([XX==]_x))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, IRIX systems
-
- CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
-
- SSTTAANNDDAARRDDSS
- Fortran
-
- Fortran extensions: QQAACCOOSS, AACCOOSSDD, DDAACCOOSSDD, QQAACCOOSSDD
-
- DDEESSCCRRIIPPTTIIOONN
- AACCOOSS, DDAACCOOSS, and QQAACCOOSS return the arc cosine in radians. AACCOOSSDD,
- DDAACCOOSSDD, and QQAACCOOSSDD return the arc cosine in degrees. AACCOOSS and AACCOOSSDD
- are generic function names; the others are specifics. These are
- elemental intrinsic functions. These routines accept the following
- argument:
-
- _x Must be of type single precision, double precision, or quad
- precision. The type and kind type of _x is identical to the
- type and kind type of the return value. The absolute value
- of the arguments for AACCOOSS, DDAACCOOSS, QQAACCOOSS, AACCOOSSDD, DDAACCOOSSDD, and
- QQAACCOOSSDD must be <= 1. See the RETURN VALUES section for
- information on input data types and return values.
-
- The data type and kind type for single-precision,
- double-precision, and quad-precision values differ depending
- on your platform. For platform-specific information, see
- the TERMINOLOGY section of the IINNTTRROO__IINNTTRRIINN(3I) man page.
-
- For AACCOOSS, DDAACCOOSS, and QQAACCOOSS, the result is in radians and is in the
- range 0 <= _r_e_s_u_l_t <= pi. The generic form, AACCOOSS, can be used for all
- real data types because it derives its type and kind type from that of
- its argument.
-
- For AACCOOSSDD, DDAACCOOSSDD, and QQAACCOOSSDD, the result is in degrees and is in the
- range 0 <= _r_e_s_u_l_t <= 180. The generic form, AACCOOSSDD, can be used for
- all real data types because it derives its type and kind type from
- that of its argument.
-
- Vector versions of these intrinsics exist on some systems. Vector
- versions of AACCOOSS and DDAACCOOSS exist on UNICOS and UNICOS/mk systems. On
- UNICOS/mk systems, the vector versions of these intrinsics are used
- when --OO vveeccttoorr33 or --OO33 has been specified on the compiler command
- line. On UNICOS/mk systems, the 64-bit intrinsic vectorizes; the
- 32-bit version does not. A vector version of the single-precision and
- double-precision AACCOOSS intrinsic exists on IRIX systems and is used
- when --OO33 is specified on the compiler command line.
-
- These functions evaluate _y = arccos(_x).
-
- NNOOTTEESS
- The AACCOOSS and DDAACCOOSS intrinsic function names can be passed as
- arguments; the others cannot.
-
- On CRAY T90 systems that support IEEE arithmetic, the following return
- value occurs:
-
- AACCOOSS((_x)=NaN if |_x| > 1.0 or if _x = NaN
-
- RREETTUURRNN VVAALLUUEESS
- AACCOOSS and AACCOOSSDD return the real arc cosine of their real arguments.
-
- DDAACCOOSS and DDAACCOOSSDD return the double-precision arc cosine of their
- double-precision arguments.
-
- QQAACCOOSS and QQAACCOOSSDD return the quad-precision arc cosine of their
- quad-precision arguments.
-
- SSEEEE AALLSSOO
- iinnttrroo__iinnttrriinn(3I)
-
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
- man page.
-